package com.wxy.learn.jackson;

/**
 * JacksonRsp
 *
 * @param <T> 结果类型
 * @since 2023-01-23
 */
public class JacksonRsp<T> {
    /**
     * 编码
     */
    private String code;

    /**
     * 错误信息
     */
    private String message;

    /**
     * 响应结果
     */
    private T result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}